# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年10月13日
"""
import pandas as pd

year = [1992, 1983, 1922, 1932, 1973, 1999, 1993, 1995]

result = pd.qcut(year, q=4)

# print(result)
print(pd.value_counts(result))
